﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SomethingSpacialClassLib.Web
{
    public partial class Event
    {
        public DateTime StartDateJustDate
        {
            get
            {
                return this.EVT_Start_Date;
            }
            set
            {
                this.EVT_Start_Date = new DateTime(value.Year, value.Month, value.Day, EVT_Start_Date.Hour, EVT_Start_Date.Minute, EVT_Start_Date.Second);
            }
        }

        public DateTime StartDateJustTime
        {
            get
            {
                return this.EVT_Start_Date;
            }
            set
            {
                this.EVT_Start_Date = new DateTime(EVT_Start_Date.Year, EVT_Start_Date.Month, EVT_Start_Date.Day, value.Hour, value.Minute, value.Second);
            }
        }
        partial void OnEVT_Start_DateChanged()
        {
            RaisePropertyChanged("StartDateJustDate");
            RaisePropertyChanged("StartDateJustTime");
        }
    }
}
